<?php

class {$className} extends f_core_View
{ldelim}
	public function execute()
	{ldelim}		
		$template = f_template_Template::getInstance()->disableCache();
		$template->setModuleTemplate("{$moduleName}", "block/{$templateName}");
		$template->assign("values", $this->getModel('formValues'));
		$template->assign("errors", $this->getModel('errors'));
		if(isset($values['relatedDocs']))
		{ldelim}
			$template->assign("relatedDocs", $this->getModel('relatedDocs'));	
		{rdelim}
		$template->renderDisplay();
	{rdelim}
{rdelim}